import tkinter
from tkinter import  ttk
win=tkinter.Tk()

win.title("中国工商银行系统")

win.geometry("600x400+200+100")#长字母（x）宽  距屏幕左侧位置  距屏幕上边位置

tree=ttk.Treeview(win)
tree["columns"]=("姓名","年龄","身高","体重")
tree.column("姓名",width=100)
tree.column("年龄",width=100)
tree.column("身高",width=100)
tree.column("体重",width=100)

tree.heading("姓名",text="姓名-name")
tree.heading("年龄",text="年龄-age")
tree.heading("身高",text="身高-height")
tree.heading("体重",text="体重-weight")

#添加数据
tree.insert("",0,text="line1",value=("小仓娃","24","175","54"))
tree.insert("",2,text="line2",value=("小仓","23","176","55"))
tree.insert("",1,text="line3",value=("仓","24","175","53"))
tree.insert("",3,text="line4",value=("仓娃","23","175","54"))




tree.pack()
win.mainloop()